<table id="myDetail" class = "listing" style="width: 100%; margin: 0 auto">
<thead>
<tr height = "40" class="myheaderrow">
	<th name="tkdu" id = "select" >{$lTKDU}</th>
	<th name="macttkdu" id = "select" >Mã KH</th>
	<th name="diengiai" id = "input" >Di&#7877;n gi&#7843;i chi tiết</th>
	<th name="sotienvn" id = "input">Phát sinh</th>
	<th name="sotiennt" id = "input" class = "sotiennt">Phát sinh ngoại tệ</th>
	<th name="tygiact" id = "input">Tỷ giá ghi sổ</th>
	<th name="soctcn" id = "input">Số c.từ công nợ gốc</th>
	<th name="ngctcn" id = "input">Ngày c.từ công nợ gốc</th>
	<th name="macp" id = "input">Mã chi phí</th>
	<th name="BBB" align="right">{translate key="common.action"}</th>

</tr>
<tr >
</tr>
</thead>


<tr class="mydatarow" rowspan = "2">
	
	<td class="value" style= "vertical-align: top;">
	<select name="tkdu" value="{$tkdu0}" id="tkdu-1" onclick="SetCur(this.id)"  onChange="changeMa(this.id, '{$urlS_getTenDMTK}');" class="selectMenu" style="width:100px">
		{html_options options=$matka selected=$tkdu0}
	</select>
	<div   class="selectMenu" style="font-size:11px" ></div>
	</td>

	<td class="value" style= "vertical-align: top;">
	<select  name="chitiettkdu-1" value="" id="chitiettkdu-1"  onclick="SetCur(this.id)" onChange="changeMaCTTK(this.id, '{$urlS_getTenDMDV}');" class="selectMenu" style="width:100px">
		{html_options options=$madva selected=""}
	</select>
	<div  class="selectMenu" style="font-size:11px" ></div>
	</td>

	<td valign="top" class="value" ><input type="text" name="diengiai" value="" id="diengiai-1"  style="width:99%" onclick="SetCur(this.id)"  class="textField" /></td>



	<td valign="top" class="value"><input type="text" name="sotienvn" size="10" value="" id="sotienvn-1" style="text-align:right"   onclick="SetCur(this.id)" onblur="return validSoTienVN(this.value, this.id,1)" onkeypress="return isNumberKey(event)" class="textField" /></td>

	<td valign="top" class="value"><input size = "10" type="text" name="sotiennt" value="" id="sotiennt-1" style="text-align:right"  onblur="validSoTienNT(this.value, this.id, 0)" onclick="SetCur(this.id)" onkeypress="return isNumberKey(event)" id="sotiennt-1" class="textField" /></td>

	<td valign="top" class="value" ><input type="text" name="tygia" value="" id="tygia-1"  style="width:99%" onclick="SetCur(this.id)"  class="textField" /></td>

	<td valign="top" class="value" ><input type="text" name="diengiai" value="" id="diengiai-1"  style="width:99%" onclick="SetCur(this.id)"  class="textField" /></td>
	
	<td valign="top" class="value" ><input type="text" name="ngctcn0" value="" id="ngctcn0" size="10" maxlength="10" style="width:99%" onclick="SetCur(this.id)"  class="textField" /></td>

	<td valign="top" class="value" ><input type="text" name="diengiai" value="" id="diengiai-1"  style="width:99%" onclick="SetCur(this.id)"  class="textField" /></td>

	<td valign="top" id = 'mytd'>
	<a class="actiondelrow" style="color: black;"  id = "rowdel-1" href="javascript:void(0);" onclick="delerow(this.id);">-X&#243;a d&#242;ng</a>  
	</td>



</tr>
</table>


